package haemers.serializers.data 
{
	import flash.utils.Dictionary;
	
	/**
	 * ...
	 * @author Jonathan
	 */
	[Serialize(name="data")]
	public class BasicVO 
	{
		public var id:int;
		public var color:uint;
		public var list:Vector.<BasicVO>;
		public var dictionary:Dictionary;
		
		private var _name:String;
		private var _queue:Array;
		
		[Serialize(ignore="true")]
		public var ignoreMe:Boolean;
		private var _ignored:Boolean;
		
		/** Public methods **/
		[Serialize(params="queue")]
		public function addToMainQueue(queue:Array):void
		{
			_queue = queue;
		}
		
		[Serialize(ignore="true")]
		public function ignoreMethod(ignoreObject:Object):void
		{
			
		}
		
		/** Getters & Setters **/
		public function get name() : String
		{
			return _name;
		}
		public function set name(value:String) : void 
		{
			_name = value;
		}
		
		public function get mainQueue():Array
		{
			return _queue;
		}
		
		[Serialize(ignore="true")]
		public function get ignored() : Boolean
		{
			return _ignored;
		}
		public function set ignored(value:Boolean) : void 
		{
			_ignored = value;
		}
		/** Protected methods **/
		
		/** Private methods **/
	}

}